.detail-page {
    width: 100%;
    height: 100%;
    overflow-y: auto;
    background-color: #202d36;
    color: #fff;
    transition: all .3s;
    padding-top: 124px;

    .header {
        width: 100%;
        height: 80px;
        background-color: #2b3743;
        box-shadow: 0 4px 4px rgba(1, 1, 1, .3);
        position: fixed;
        top: 0;
        left: 0;
    }

    .nav-title {
        font-size: 25px;
        font-weight: blod;
    }

    .moon {
        width: 17px;
        height: 15px;
        margin-right: 10px;
    }

    .mode-btn {
        cursor: pointer;
    }

    .back-btn {
        width: 142px;
        height: 48px;
        background-color: #2b3743;
        box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
        border-radius: 5px;
        cursor: pointer;
    }

    .back-arrow {
        width: 18px;
        height: 12px;
        margin-right: 5px;
    }

    .details-wrap {
        margin-top: 75px;

        .details-left {
            width: 560px;
            height: auto;
        }

        .details-right {
            flex: 1;
            margin-left: 140px;

            .falg-title {
                font-size: 25px;
                font-weight: bold;
                margin-bottom: 32px;
            }

            .flag-row {
                margin-bottom: 10px;

                & > span {
                    color: #777;
                }
            }

            .border-countries {
                margin-top: 60px;

                .tag {
                    min-width: 100px;
                    height: 32px;
                    background-color: #2b3743;
                    box-shadow: 0 0px 4px 4px rgba(1, 1, 1, .1);
                    margin-left: 10px;
                    padding: 0 10px;
                    color: #ddd;
                    margin-bottom: 10px;
                }
            }
        }
    }

    .detail-value {
        color: #777;
    }

    .r {
        margin-right: 60px;
    }

}

.detail-page.light {
    background-color: #fafafa;
    color: #333;

    .header {
        background-color: #ffffff;
    }

    .back-btn {
        background-color: #ffffff;
        color: #333;
    }

    .details-wrap {
        .details-right {
            .flag-row {
                & > span {
                    color: #777;
                }
            }

            .border-countries {
                .tag {
                    background-color: #ffffff;
                    color: #777;
                }
            }
        }
    }

    .detail-value {
        color: #666;
    }
}


@media screen and (max-width: 1200px) {
    .detail-page {
        .details-wrap {
            flex-direction: column;

            .details-right {
                margin-left: 0;
                margin-top: 20px;
            }
        }
    }

}

@media screen and (max-width: 580px) {
    .detail-page {
        .details-wrap {
            .details-left {
                width: 90%;
                margin: 0 auto;
            }

            .details-right {
                width: 90%;
                margin: 0 auto;
                margin-top: 20px;

                .flag-row {
                    text-align: center;
                    width: 100%;
                }

                .border-countries {
                    .tag {
                        margin-bottom: 10px;
                        margin-top: 10px;
                    }
                }
            }
        }
    }
}
